package com.wb.structual.flyweight;

/**
 * @author 魏彪
 */
public abstract class IgoChessman {

    public abstract String getColor();

    public void display(Coordinates coordinate) {
        System.out.println("棋子的颜色: " + this.getColor() + ", 棋子的位置：" + coordinate.getX() + ", " + coordinate.getY());
    }
}
